#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

    int main()
    {
        int i = 0;
        int j = 0;
        for (i = 1; i <=7; i++)
        {
            for (j = 1; j <=7 - i; j++)
            {
                printf(" ");
            }
            for (j = 1; j <=2 * i-1; j++)
            {
                printf("*");
            }
            printf("\n");
        }
        for (i = 1; i <= 12; i+=2)
        {
            for (j = 1; j <= i; j+=2)
            {
                printf(" ");
            }
            for (j=1;j<=12-i;j++)
            {
                printf("*");
            }
            printf("\n");
        }

        return 0;
    }
	
